public class NoninstantiableClass {

	public static void main(String[] argv) {

		final Stack s = NoninstantiableClass.getStack();
		NoninstantiableClass ns = new NoninstantiableClass();
		// s.pop();

		/*
		 * can't assign/instantiate final object more than once
		 */
		// s = new Stack();

		s.printStack();

	}

	private NoninstantiableClass() {
	}

	public static final Stack getStack() {
		Stack s = new Stack();
		s.push(1);
		return s;
	}

	public void overidableFun() {

	}
}
